Average sentence length |
---|
20.4016 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.3700 |
4 | 1.1300 |
5 | 1.4700 |
6 | 2.1200 |
7 | 2.5500 |
8 | 3.9800 |
9 | 2.9400 |
10 | 3.7300 |
11 | 3.7200 |
12 | 3.8000 |
13 | 5.1600 |
14 | 3.6000 |
15 | 3.4100 |
16 | 3.0500 |
17 | 3.1300 |
18 | 3.4700 |
19 | 3.2400 |
20 | 3.3200 |
21 | 3.0300 |
22 | 3.1700 |
23 | 2.7900 |
24 | 2.9100 |
25 | 2.6100 |
26 | 2.5300 |
27 | 2.6900 |
28 | 2.2000 |
29 | 2.2700 |
30 | 2.3100 |
31 | 2.2500 |
32 | 2.4300 |
33 | 2.1100 |
34 | 1.8500 |
35 | 1.8000 |
36 | 1.9300 |
37 | 1.6800 |
38 | 1.3400 |
39 | 1.0500 |
40 | 0.8800 |
41 | 0.6400 |
42 | 0.5700 |
43 | 0.2700 |
44 | 0.2000 |
45 | 0.1500 |
46 | 0.0700 |
47 | 0.0500 |
48 | 0.0100 |
50 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters